﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MS.InformationManagement.Presenter.Support;

namespace MS.InformationManagement.Presenter.ExcluirRadicadoRecord
{
    public class ExcludeRadicadoPresenter : BasePresenter<IExcludeRadicadoView>
    {

        #region constructor

        public ExcludeRadicadoPresenter(IExcludeRadicadoView view) : base(view) { }

        #endregion

        #region Public Methods

        public void ExcludeRadicado()
        {
            new BLL.ExcludeExpediente.ExcludeExpediente().ExcludeRadicadoFromExpediente(View.ListName, View.RadicadoId, View.ExpedienteListName);
            View.Close();
        }

        #endregion

    }
}
